GET Customer Accounts Vehicle

Endpoint will return customer account vehicle for the provided customer account

Path Parameters
  • customer_account_id
    Type: stringFormat: uuid
    required

    Customer account UUID

Headers
  • X-Request-ID
    Type: string
    required

    Unique request identifier

  • Application
    Type: string
    required

    Application key

  • Accept
    Type: string
    required

    Accept header

  • API-version
    Type: string
    required

    API version

  • Authorization
    Type: string
    required

    Authorization header

  • X-QB-Enabled
    enum
    required

    Header which if sent with value 'true' will allow usage of the query building feature in response (through the request's query params). It is mandatory for this part of the documentation.

    values
    • true
    • false
Responses
  • application/json
  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Not Found

Request Example for get/customer-accounts/{customer_account_id}/vehicles
curl https://api-public-demo.menu.app/api/customer-accounts/4e42c2a6-3f23-11ed-936c-1a67b454859d/vehicles \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937' \
  --header 'Application: ' \
  --header 'Accept: application/json' \
  --header 'API-version: 5.0.0' \
  --header 'Authorization: ' \
  --header 'X-QB-Enabled: true'
{
  "status": "OK",
  "code": 200,
  "data": [
    {
      "id": "7dada664-6074-4c3d-ba75-250b142b6913",
      "customer_account_id": "69f8ad44-3f23-11ed-936c-1a67b454859d",
      "brand_and_model": "Fiat bravo",
      "color": "Gray",
      "license_plate_number": "CA102FX"
    }
  ]
}